<?php

/*
 * Edit by shengxin
 * Click nbfs://nbhost/SystemFileSystem/Templates/Scripting/PHPClass.php to edit this template
 */

namespace api\v1\controller;

use api\base\CRestBase;
/**
 * Description of inspirationalMottos
 *
 * @author PC
 */
class InspirationalMottosController extends CRestBase{
    public function random(){
        $json = '{
    "id" : "9ed466862d644e26b202bb216c0c27cd",
    "deleted" : false,
    "createdBy" : "root",
    "createdDate" : "2022-09-06 15:24:54",
    "lastModifiedBy" : null,
    "lastModifiedDate" : null,
    "title" : "励志格言",
    "content" : "少壮不努力,老大徒伤悲!",
    "remark" : "汉乐府古辞《长歌行》"
  }';
        $this->success('ok', json_decode($json,true));
    }
}
